package cn.edu.ldh.toolapp.entity;

import ohos.data.orm.OrmObject;
import ohos.data.orm.annotation.Entity;
import ohos.data.orm.annotation.PrimaryKey;

import java.io.Serializable;

@Entity(tableName = "merit")
public class Merit extends OrmObject implements Serializable {

    @PrimaryKey(autoGenerate = true)
    private Integer meritId;
    private int meritNum;

    public Integer getMeritId() {
        return meritId;
    }

    public void setMeritId(Integer meritId) {
        this.meritId = meritId;
    }

    public int getMeritNum() {
        return meritNum;
    }

    public void setMeritNum(int meritNum) {
        this.meritNum = meritNum;
    }
}
